package hng.mapper;

import hng.model.StoreDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import hng.vo.admin.StoreDetailVO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 店铺表 Mapper 接口
 * </p>
 *
 * @author 告白
 * @since 2024-06-27
 */
public interface StoreMapper extends BaseMapper<StoreDO> {

    @Select("select * " +
            "from store ")
    List<StoreDetailVO> getStoreListByAdmin(@Param("keyword") String keyword);
}
